#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2020/11/13 13:33
    Desc  :
--------------------------------------
"""

from config.base import *

# SERVER_HOST = "192.168.0.11"

SERVER_HOST = "192.168.0.105"

# debug
DEBUG = True

# 数据库配置
SQLALCHEMY_DATABASE_URI = "mysql://root:123456@127.0.0.1/flask-api"


# mongodb设置
MONGODB_SETTINGS = {
    'db': 'flask-api',
    'host': '127.0.0.1',
    'port': 27017
}


# readis配置
CELERY_BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/1'
